package com.shermanzhou.aop;

import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

/**
 * @author zhouchaoqun
 * @date 2018/9/10 下午2:03
 */
@Service
public class HelloServiceImpl implements HelloService {
    @Async
    public void sayHello(String somebody) {
        System.out.println("Hello " + somebody);
    }
}
